home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / AppsToGo.docs / ! Making It Happen next >
Encoding:
Text File  |  1993-08-02  |  7.0 KB  |  173 lines  |  [TEXT/MPS ]

  1. THE SITUATION:
  2.  
  3. It's late.  You're feeling a bit strange, as if something's going to bubble up at any time.
  4. You're not sure what's going on, so you head to bed.  At some really inconvenient hour
  5. of the morning, when no sane people are awake, you awake.  Yes, something did percolate
  6. its way up, but it wasn't the burrito you ate last night.  It was a great product idea.
  7.  
  8. You think about going back to sleep, but will you remember the idea in the morning?  This
  9. fear keeps you awake, just lying there.  Very annoying, isn't it?
  10.  
  11.  
  12. If you're unsure if your product idea is any good, just check it against the below simple
  13. product/value test.  It's the quickest, easiest test there is.  Give yourself 1 point for
  14. each true statement:
  15.  
  16.     • You have a really cool name for the product.
  17.     • You have a really cool icon.
  18.  
  19.  
  20. So, how did your product score?
  21.  
  22.  
  23. 0:    Rotten product idea.  Go back to bed and forget the whole thing.
  24.     "It was just a dream, a really bad dream..."
  25.  
  26. 1:    Not bad.  Product concept needs work, although you might actually recover your
  27.     development costs.
  28.  
  29. 2:    WOW!!  Off the charts.  Code it up, and ship it out in the evening.
  30.  
  31.  
  32. So, assuming that you have given the name and icon their due consideration, let's start coding.
  33. No need for any actual design cycle or any such thing, since we have a great name and icon.
  34.  
  35. You don't believe that a good icon and name are all you need?  You've been told otherwise?
  36. It's true, and here's why:
  37.  
  38. Everybody wants to impress their friends and coworkers.  They want to sound cool when talking
  39. about computers.  They want to sound like they know what they are talking about.  How can they
  40. sound cool talking about your product if it has a really stupid name?  If the name's stupid,
  41. then they won't talk about it.  If it sounds cool just saying it, you've got it made.
  42.  
  43. Also, if the icon is really cool, then a user will actually put your product on their desktop.
  44. Other people will visit their office and see the icon, and they will immediately suffer from
  45. icon jealousy.  Here's the double-win.  The visitor asks what product that is, and the owner
  46. then gets to say the really cool product name, thus sounding cool.  PRESTO!!  A SALE!!
  47.  
  48.  
  49. So, here's how to set up AppWannabe to have your own icon and product name, in 10 easy steps.
  50.  
  51. WARNING:  DO NOT SHIP YOUR PRODUCT WITHOUT CHANGING THE NAME OR THE ICON, AS APPWANNABE HAS
  52.           NEITHER A COOL NAME OR A COOL ICON.  IT WILL BE A COMPLETE DISASTER!!
  53.  
  54.  
  55.  
  56. 1)    Copy the folder AppWannabe
  57.  
  58. 2)    Rename the copy HeapSpew
  59.  
  60. 3)    Open the HeapSpew folder and rename the project file names:
  61.         • AppWannabe.make   to HeapSpew.make
  62.         • AppWannabe.r      to HeapSpew.r
  63.         • AppWannabe.π      to HeapSpew.π
  64.         • AppWannabe.π.rsrc to HeapSpew.π.rsrc
  65.  
  66. 4)    Do a search of the source files for AppWannabe.  Change where appropriate, namely:
  67.         • HeapSpew.make
  68.         • HeapSpew.r
  69.  
  70. 5)    Change the creator type in the source to whatever you picked.  The old type is 'DUMB'.
  71.     (I picked 'SPEW' for this sample.)  The files to change are:
  72.         • App.defs.h
  73.         • HeapSpew.make
  74.     While you're in the file App.defs.h, go ahead and change the type of the main document
  75.     type from 'DUMD' (DUMb Document) to whatever you want.  (I'm using 'SPED' for this
  76.     sample, for heapSPEw Document.)
  77.     
  78.  
  79. 6)    For THINK users, go to "Set Project Type…" and set the creator type to 'SPEW'.
  80.  
  81. 7)    Open HeapSpew.π.rsrc with ResEdit and change the 'BNDL' to reflect the new creator type.
  82.  
  83. 8)    While you're editing the 'BNDL', change the document type from 'DUMD' to whatever is
  84.     appropriate for your application.
  85.  
  86. 9)    Draw your own cool icons.  You will want to replace the following icon resources:
  87.         • 'icl4'
  88.         • 'icl8'
  89.         • 'ICN#'
  90.         • 'ics#'
  91.         • 'ics4'
  92.         • 'ics8'
  93.         • 'SICN'
  94.  
  95. 10)    Try a build.  You should now have a starter application with correct icons, creator type, etc.
  96.  
  97.  
  98.  
  99. We need to put the really cool name in a few more places, however.  The application still
  100. says AppWannabe here and there.  The best way to find all of these instances is to Derez
  101. the HeapSpew.π.rsrc file.  Here's where the derez indicates the string AppWannabe to be:
  102.  
  103.  TYPE      id
  104. -------------------
  105. 'DITL'  129,130,131
  106. 'MENU'  128
  107. 'SPEW'  0
  108. 'STR '  -16396
  109. 'vers'  1
  110. 'WIND'  128
  111. 'WFMT'  128
  112.  
  113. Everything looks okay, except for the 'WFMT' resource.  That's new.  That's the resource
  114. used by the AppsToGo application editor.  It packs all of its changes into this single resource.
  115.  
  116. You can use ResEdit to change all of the other references to AppWannabe.  Changing 'SPEW' is
  117. a bit tricky.  First edit the 'vers' item, and then open it as hex.  Select from the pascal string
  118. length (offset $0C) to the end and copy it into the clipboard.  Open the 'SPEW' resource, select
  119. all, and paste.  Done.
  120.  
  121.  
  122. You probably want to change the version number.  That is found in the following resources:
  123.  
  124.     'vers'
  125.     'MENU'
  126.     'SPEW'
  127.     'WFMT'
  128.  
  129.  
  130. All the initial changes possible from ResEdit have been made.  The remaining changes have
  131. to be made to the 'WFMT' resource.  To change this, we need AppsToGo, the editor.
  132.  
  133. Drag-drop the resource file onto AppsToGo.  The 'WIND' format will be read in and unpacked.
  134. The 'WFMT' will contain five document definitions.  These are:
  135.     'DUMD'        This is the default document for HeapSpew (AppWannabe).
  136.     'VWHR'        This is the "View Hierarchy" document definition.
  137.     'ABOT'        This is the about-box definition.
  138.     'LMEM'        This is the low-on-mem warning dialog box.
  139.     'ERR#'        This is the "error #-xxx occured" dialog box.
  140.  
  141. The first thing we need to do is to change the document type of our default document.
  142. Double-click on 'DUMD', and change the document type to 'SPEW'.  This is now in sync
  143. with the 'BNDL' resource description of what our documen types are.  That's all that
  144. was wrong with that document.
  145.  
  146. The next problem is that the dialog box still says "AppWannabe 4.0b1 Starter App."
  147. Double-click on 'ABOT'.  The window that opens up would allow us to change window
  148. attributes.  The attributes are fine.  We need to change the content.  Therefore
  149. click on the "Edit Content" button.
  150.  
  151. A template window opens up.  This window allows us to add, delete, resize, etc., various
  152. control objects.  We want the controls we have.  We just want to change the content of the
  153. TextEdit control to say something other than AppWannabe.
  154.  
  155. Type command-T to "Test & Edit Controls".  The dialog will be displayed, as it would
  156. function in the application.  This also means that the text can't be clicked on or edited.
  157. To make the text editable, type command-Y.  This sets all controls active in the window.
  158. You can now click on the text and edit it.
  159.  
  160.  
  161. Change the name to HeapSpew, and change the version number.  We're done with the about box.
  162.  
  163. The 'ERR#' document definition also has a reference to AppWannabe.  Open up the dialog, just
  164. like the 'ABOT' dialog, including making the text editable.  Change it to HeapSpew, and then
  165. save the document.  All resource changes have been made to the project.
  166.  
  167.  
  168. Re-build the application so the new resources changes are reflected in the executable.
  169.  
  170. That wasn't too bad.  We're just about ready to ship.  A little functionality to accompany
  171. our great name and icon, and we're ready to visit the bank.
  172.  
  173.